<!-- template to simulate a SharePoint 2010 list -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>Camelot PHP Tools List Demo - 2010 Template</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style type="text/css">

            table,tbody,thead {
                padding: 0;
                margin: 0;
                text-align: left;
            }

            th {
                background-color: #fff;
                color: #003759;

                font-family: Verdana, Arial, Helvetica;
                font-weight: normal;
                font-size: 11px;

                padding: 7px 3px 7px 3px;
                margin: 0;
            }

            td {
                font-family: Verdana, Arial, Helvetica;
                font-weight: normal;
                font-size: 11px;
                color: #6D6F72;

                padding: 3px;
                margin: 0;

                vertical-align: text-top;

                border-top: 1px solid #fff;
                border-bottom: 1px solid #fff;
            }

            a {
                color: #0072BC;
                text-decoration: none;
            }

            tr:hover > td {
                background-color: #F2FAFF;
                border-top: 1px solid #c3e6f9;
                border-bottom: 1px solid #8acef2;
            }

            tbody .tr_odd {
                background-color: #fff;
            }

            tbody .tr_even {
                background-color: #fff;
            }
            /**/
        </style>
    </head>
    <body>

        <table border="0" cellpadding="0" cellpadding="0" width="100%">
            <thead>
                <tr>
                    {% for each in list_header %}
                    <th>{{ each }}</th>
                    {% endfor %}
                </tr>
            </thead>
            <tbody>
                {% for item in list_content %}
                <tr class="{{ cycle(['tr_odd', 'tr_even'], loop.index) }}">
                    {% for each in item %}
                    <td>{{ each }}</td>
                    {% endfor %}
                </tr>
                {% endfor %}
            </tbody>
        </table>
    </body>
</html>
